package com.hzqy.web.vo.industry;

import com.alibaba.fastjson.JSONObject;

public class IndustryLinkVo {
	private JSONObject data; 
	private String requestType;
	private String readTimeout;
	private String contentType;
	private String requestCharset;
	private String requestUrl;
	private String params;
	private int linkId;
	public JSONObject getData() {
		return data;
	}
	public void setData(JSONObject data) {
		this.data = data;
	}
	public String getDataString() {
		if(data!=null){
			return data.toJSONString();
		}else{
			return "{}";
		}
	}
	public String getRequestType() {
		if(requestType==null){
			requestType="GET";
		}
		return requestType;
	}
	public void setRequestType(String requestType) {
		this.requestType = requestType;
	}
	public String getReadTimeout() {
		if(readTimeout==null){
			readTimeout="10000";
		}
		return readTimeout;
	}
	public void setReadTimeout(String readTimeout) {
		this.readTimeout = readTimeout;
	}
	public String getContentType() {
		if(contentType==null){
			contentType="application/json";
		}
		return contentType;
	}
	public void setContentType(String contentType) {
		this.contentType = contentType;
	}
	public String getRequestCharset() {
		if(requestCharset==null){
			requestCharset="UTF-8";
		}
		return requestCharset;
	}
	public void setRequestCharset(String requestCharset) {
		this.requestCharset = requestCharset;
	}
	public String getRequestUrl() {
		return requestUrl;
	}
	public void setRequestUrl(String requestUrl) {
		this.requestUrl = requestUrl;
	}
	public int getLinkId() {
		return linkId;
	}
	public void setLinkId(int linkId) {
		this.linkId = linkId;
	}
	public String getParams() {
		return params;
	}
	public void setParams(String params) {
		this.params = params;
	}
	
}
